package com.kuang;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//扫描我们的 mapper 文件夹,后续放到了配置类里面了 MybatisPlusConfig
//@MapperScan("com.kuang.mapper") //单个包
@MapperScan({"com.kuang.mapper","com.kuang.blog.mapper"})//多个包,mybatis-plus必须要扫描的包
@SpringBootApplication
public class MybatisPlusApplication {

    public static void main(String[] args) {
        SpringApplication.run(MybatisPlusApplication.class, args);
    }

}
